package com.wgq.Until;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class GetSpringConfig {
    public static ApplicationContext getApplicationContextBean(){
        ApplicationContext context = new ClassPathXmlApplicationContext("Bean.xml");
        return context;
    }

    public static ApplicationContext getApplicationContext(){
        ApplicationContext context = new ClassPathXmlApplicationContext("Application.xml");
        return context;
    }
}
